public class MyControlsHomework {
	public static void main(String[] args){
		
		Integer a = 1;
		Integer b = 3;
		Integer c = 4;
		Integer d = 2;
		Integer result = null;
		
		if (a >= b && a >= c && a >= d) 
			result = a;
		
		else if (b >= a && b >= c && b >= d) 
			result = b;

		else if (c >= a && c >= b && c >= d) 
			result = c;

		else if (d >= a && d >= b && d >= c) 
			result = d;
		
		System.out.println("Highest value is " + result);
	}
}